package com.dingwen.treasure.business.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 　业务规则视图
 * 　@author dingwen
 * 　@date 2022/8/29
 *
 */
@ApiModel(value = "BusinessRuleVo",description = "业务规则校验视图对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class BusinessRuleVo implements Serializable {

    private static final long serialVersionUID = 1697851976363198009L;

    /**
     * 规则名称
     */
    @ApiModelProperty(value = "规则名称")
    private String ruleName;


    /**
     * 字段名称
     */
    @ApiModelProperty(value = "字段名称")
    private String fieldName;


    /**
     * 值
     */
    @ApiModelProperty(value = "值")
    private String fieldValue;


    /**
     * 未通过校验原因
     */
    @ApiModelProperty(value = "未通过校验原因")
    private String errorMessage;
}
